/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.easy.core.exception;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * 接口返回码 所有业务异常都要继承该接口
 *
 * @author Jasmine
 * @since 1.0.0
 */
@Tag(name = "接口返回码 所有业务异常都要继承该接口")
public interface ResultInfoInterface {

    @Schema(name = "获取返回编码")
    int getCode();

    @Schema(name = "获取返回消息")
    String getMessage();
}
